package com.oa.bean;

import java.sql.Date;

public class Leave {

	private int L_id;
	private String L_user;
	private Date L_time;
	private Date L_start;
	private Date L_end;
	private int L_day;
	private String L_style;
	private String L_reason;
	private int L_status;
	private int L_dapt_id;
	
	public Leave(int l_id, String l_user, Date l_time, Date l_start, Date l_end, int l_day, String l_style,
			String l_reason, int l_status, int l_dapt_id) {
		super();
		L_id = l_id;
		L_user = l_user;
		L_time = l_time;
		L_start = l_start;
		L_end = l_end;
		L_day = l_day;
		L_style = l_style;
		L_reason = l_reason;
		L_status = l_status;
		L_dapt_id = l_dapt_id;
	}
	
	
	public int getL_dapt_id() {
		return L_dapt_id;
	}


	public void setL_dapt_id(int l_dapt_id) {
		L_dapt_id = l_dapt_id;
	}


	public Leave() {
		super();
		// TODO Auto-generated constructor stub
	}
	public int getL_id() {
		return L_id;
	}
	public void setL_id(int l_id) {
		L_id = l_id;
	}
	public String getL_user() {
		return L_user;
	}
	public void setL_user(String l_user) {
		L_user = l_user;
	}
	public Date getL_time() {
		return L_time;
	}
	public void setL_time(Date l_time) {
		L_time = l_time;
	}
	public Date getL_start() {
		return L_start;
	}
	public void setL_start(Date l_start) {
		L_start = l_start;
	}
	public Date getL_end() {
		return L_end;
	}
	public void setL_end(Date l_end) {
		L_end = l_end;
	}
	public int getL_day() {
		return L_day;
	}
	public void setL_day(int l_day) {
		L_day = l_day;
	}
	public String getL_style() {
		return L_style;
	}
	public void setL_style(String l_style) {
		L_style = l_style;
	}
	public String getL_reason() {
		return L_reason;
	}
	public void setL_reason(String l_reason) {
		L_reason = l_reason;
	}
	public int getL_status() {
		return L_status;
	}
	public void setL_status(int l_status) {
		L_status = l_status;
	}
	@Override
	public String toString() {
		return "Leave [L_id=" + L_id + ", L_user=" + L_user + ", L_time=" + L_time + ", L_start=" + L_start + ", L_end="
				+ L_end + ", L_day=" + L_day + ", L_style=" + L_style + ", L_reason=" + L_reason + ", L_status="
				+ L_status + "]";
	}
	
	
}
